import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import dayjs from 'dayjs'
import 'vant/es/toast/style'
// 全局导入
// import Vant from 'vant'
// import 'vant/lib/index.css'

// Vue.use(Vant)

Vue.config.productionTip = false
// 将axios挂载到Vue原型上，所有组件实例都能访问
Vue.prototype.$axios = axios
Vue.prototype.$dayjs = dayjs
// this.$dayjs()
// this.$http.get  ==> axios.get

new Vue({
    render: (h) => h(App),
    router
}).$mount('#app')
